package com.dykj.fireFighting.api.monitoringCenter.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author fgc
 * @Date 2021/6/15 16:05
 * @ Description：自动报警设备运行记录
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "VIEW")
@TableName("dev_his_fire")
public class DevHisFire extends Model<DevHisFire> {
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    @ApiModelProperty(value = "唯一标识")
    @TableId
    private Long id;
    /**
     * 设备名
     */
    @ApiModelProperty(value = "设备名")
    private String name;
    /**
     * 设备名
     */
    @ApiModelProperty(value = "单位id")
    private String unitId;

    private String unitName;
    /**
     * 主机号
     */
    @ApiModelProperty(value = "主机号")
    private String hostNumber;
    /**
     * 回路号
     */
    @ApiModelProperty(value = "回路号")
    private String loopNumber;
    /**
     * 部位号
     */
    @ApiModelProperty(value = "部位号")
    private String partNumber;
    /**
     * 二次码
     */
    @ApiModelProperty(value = "二次码")
    private String secondaryCode;
    /**
     * 部件状态说明（中文）只做显示
     */
    @ApiModelProperty(value = "部件状态说明（中文）只做显示")
    private String bjztSm;
    /**
     * 状态发生时间
     */
    @ApiModelProperty(value = "状态发生时间")
    private Date ztfssj;
    
}

